home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / games / mac / __the_arcade__ / mr._ball_s_game / card_2259.txt < prev    next >
Text File  |  1991-02-12  |  5KB  |  251 lines

  1. -- card: 2259 from stack: in._ball_s_game
  2. -- bmap block id: 8917
  3. -- flags: 0000
  4. -- background id: 2745
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on opencard
  8.   global leftbridge,rightbridge
  9.   put 30 into leftbridge
  10.   put -30 into rightbridge
  11.   set the loc of cd btn "leftbridge" to 150,64
  12.   set the loc of cd btn "rightbridge" to 359,230
  13. end opencard
  14.  
  15. on idle
  16.   global leftbridge,rightbridge
  17.  
  18.   if the loc of cd btn "leftbridge" is not within the rect of cd btn "special" then put -leftbridge into leftbridge
  19.   if the loc of cd btn "Rightbridge" is not within the rect of cd btn "special" then put -Rightbridge into Rightbridge
  20.  
  21.   moveL 0,Leftbridge
  22.   moveR 0,Rightbridge
  23.   pass idle
  24. end idle
  25.  
  26. on moveL h,v
  27.   set the loc of cd btn "leftbridge" to item 1 of the loc of cd btn "leftbridge"+h,item 2 of the loc of cd btn "leftbridge"+v
  28. end moveL
  29.  
  30. on moveR h,v
  31.   set the loc of cd btn "rightbridge" to item 1 of the loc of cd btn "rightbridge"+h,item 2 of the loc of cd btn "rightbridge"+v
  32. end moveR
  33.  
  34.  
  35.  
  36. -- part 1 (button)
  37. -- low flags: 00
  38. -- high flags: 0002
  39. -- rect: left=0 top=0 right=271 bottom=47
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 13414 / 13414
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: New Button
  48.  
  49.  
  50. -- part 2 (button)
  51. -- low flags: 00
  52. -- high flags: 0002
  53. -- rect: left=465 top=0 right=271 bottom=512
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 13414 / 13414
  56. -- text alignment: 1
  57. -- font id: 0
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: New Button
  62.  
  63.  
  64. -- part 4 (button)
  65. -- low flags: 00
  66. -- high flags: 0002
  67. -- rect: left=253 top=203 right=257 bottom=465
  68. -- title width / last selected line: 0
  69. -- icon id / first selected line: 13414 / 13414
  70. -- text alignment: 1
  71. -- font id: 0
  72. -- text size: 12
  73. -- style flags: 0
  74. -- line height: 16
  75. -- part name: rightbridge
  76.  
  77.  
  78. -- part 5 (button)
  79. -- low flags: 80
  80. -- high flags: 0000
  81. -- rect: left=141 top=58 right=242 bottom=370
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 0 / 0
  84. -- text alignment: 1
  85. -- font id: 0
  86. -- text size: 12
  87. -- style flags: 0
  88. -- line height: 16
  89. -- part name: Special
  90. ----- HyperTalk script -----
  91. on stuff
  92.   hide me
  93. end stuff
  94.  
  95. on mouseup
  96.   hide me
  97. end mouseup
  98.  
  99.  
  100.  
  101. -- part 7 (button)
  102. -- low flags: 00
  103. -- high flags: 0000
  104. -- rect: left=2 top=90 right=268 bottom=65
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 13401 / 13401
  107. -- text alignment: 1
  108. -- font id: 0
  109. -- text size: 12
  110. -- style flags: 0
  111. -- line height: 16
  112. -- part name: coin
  113.  
  114.  
  115. -- part 8 (button)
  116. -- low flags: 80
  117. -- high flags: 0000
  118. -- rect: left=338 top=108 right=139 bottom=378
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 13401 / 13401
  121. -- text alignment: 1
  122. -- font id: 0
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: coin
  127.  
  128.  
  129. -- part 9 (button)
  130. -- low flags: 00
  131. -- high flags: 0000
  132. -- rect: left=125 top=224 right=255 bottom=165
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 13401 / 13401
  135. -- text alignment: 1
  136. -- font id: 0
  137. -- text size: 12
  138. -- style flags: 0
  139. -- line height: 16
  140. -- part name: coin
  141.  
  142.  
  143. -- part 10 (button)
  144. -- low flags: 80
  145. -- high flags: 0000
  146. -- rect: left=116 top=101 right=132 bottom=156
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 13401 / 13401
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: coin
  155.  
  156.  
  157. -- part 11 (button)
  158. -- low flags: 80
  159. -- high flags: 0000
  160. -- rect: left=341 top=160 right=191 bottom=381
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 13401 / 13401
  163. -- text alignment: 1
  164. -- font id: 0
  165. -- text size: 12
  166. -- style flags: 0
  167. -- line height: 16
  168. -- part name: coin
  169.  
  170.  
  171. -- part 12 (button)
  172. -- low flags: 80
  173. -- high flags: 0000
  174. -- rect: left=340 top=221 right=252 bottom=380
  175. -- title width / last selected line: 0
  176. -- icon id / first selected line: 13401 / 13401
  177. -- text alignment: 1
  178. -- font id: 0
  179. -- text size: 12
  180. -- style flags: 0
  181. -- line height: 16
  182. -- part name: coin
  183.  
  184.  
  185. -- part 13 (button)
  186. -- low flags: 80
  187. -- high flags: 0000
  188. -- rect: left=338 top=56 right=87 bottom=378
  189. -- title width / last selected line: 0
  190. -- icon id / first selected line: 13401 / 13401
  191. -- text alignment: 1
  192. -- font id: 0
  193. -- text size: 12
  194. -- style flags: 0
  195. -- line height: 16
  196. -- part name: coin
  197.  
  198.  
  199. -- part 14 (button)
  200. -- low flags: 80
  201. -- high flags: 0000
  202. -- rect: left=339 top=8 right=39 bottom=379
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 13401 / 13401
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: coin
  211.  
  212.  
  213. -- part 15 (button)
  214. -- low flags: 00
  215. -- high flags: 0002
  216. -- rect: left=47 top=37 right=91 bottom=253
  217. -- title width / last selected line: 0
  218. -- icon id / first selected line: 13414 / 13414
  219. -- text alignment: 1
  220. -- font id: 0
  221. -- text size: 12
  222. -- style flags: 0
  223. -- line height: 16
  224. -- part name: Leftbridge
  225.  
  226.  
  227. -- part 16 (button)
  228. -- low flags: 80
  229. -- high flags: 0000
  230. -- rect: left=127 top=47 right=78 bottom=167
  231. -- title width / last selected line: 0
  232. -- icon id / first selected line: 13401 / 13401
  233. -- text alignment: 1
  234. -- font id: 0
  235. -- text size: 12
  236. -- style flags: 0
  237. -- line height: 16
  238. -- part name: coin
  239.  
  240.  
  241. -- part contents for background part 3
  242. ----- text -----
  243. World 6
  244.  
  245. -- part contents for background part 6
  246. ----- text -----
  247. 18
  248.  
  249. -- part contents for background part 5
  250. ----- text -----
  251. ΓÇó